package com.juyu.reader.pc.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.juyu.reader.pc.dao.ThemeBookDao;
import com.juyu.reader.pc.model.ThemeBook;

@Service
public class ThemeBookService {
	@Autowired
	public ThemeBookDao themeBookDao;

	public List<ThemeBook> findThemeBook(ThemeBook themeBook) {
		return themeBookDao.findThemeBook(themeBook);
	}

	public int countThemeBook(ThemeBook themeBook) {
		return themeBookDao.countThemeBook(themeBook);
	}

}
